package breadfactory.workorder.dto;

import breadfactory.user.dto.UserDTO;

public class HistoryDTO {

	private int quantity;
	private String dateTime;
	private String workOrderId;
	private String userId;
	private String operationId;
	private String conditionId;
	private WorkOrderDTO workOrderDTO;
	private UserDTO userDTO;
	private OperationDTO operationDTO;
	private ConditionDTO conditionDTO;


	public HistoryDTO(){}


	public HistoryDTO(int quantity, String dateTime, String workOrderId,
			String userId, String operationId, String conditionId,
			WorkOrderDTO workOrderDTO, UserDTO userDTO,
			OperationDTO operationDTO, ConditionDTO conditionDTO) {
		super();
		this.quantity = quantity;
		this.dateTime = dateTime;
		this.workOrderId = workOrderId;
		this.userId = userId;
		this.operationId = operationId;
		this.conditionId = conditionId;
		this.workOrderDTO = workOrderDTO;
		this.userDTO = userDTO;
		this.operationDTO = operationDTO;
		this.conditionDTO = conditionDTO;
	}


	/**
	 * @return the quantity
	 */
	public int getQuantity() {
		return quantity;
	}


	/**
	 * @param quantity the quantity to set
	 */
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}


	/**
	 * @return the dateTime
	 */
	public String getDateTime() {
		return dateTime;
	}


	/**
	 * @param dateTime the dateTime to set
	 */
	public void setDateTime(String dateTime) {
		this.dateTime = dateTime;
	}


	/**
	 * @return the workOrderId
	 */
	public String getWorkOrderId() {
		return workOrderId;
	}


	/**
	 * @param workOrderId the workOrderId to set
	 */
	public void setWorkOrderId(String workOrderId) {
		this.workOrderId = workOrderId;
	}


	/**
	 * @return the userId
	 */
	public String getUserId() {
		return userId;
	}


	/**
	 * @param userId the userId to set
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}


	/**
	 * @return the operationId
	 */
	public String getOperationId() {
		return operationId;
	}


	/**
	 * @param operationId the operationId to set
	 */
	public void setOperationId(String operationId) {
		this.operationId = operationId;
	}


	/**
	 * @return the conditionId
	 */
	public String getConditionId() {
		return conditionId;
	}


	/**
	 * @param conditionId the conditionId to set
	 */
	public void setConditionId(String conditionId) {
		this.conditionId = conditionId;
	}


	/**
	 * @return the workOrderDTO
	 */
	public WorkOrderDTO getWorkOrderDTO() {
		return workOrderDTO;
	}


	/**
	 * @param workOrderDTO the workOrderDTO to set
	 */
	public void setWorkOrderDTO(WorkOrderDTO workOrderDTO) {
		this.workOrderDTO = workOrderDTO;
	}


	/**
	 * @return the userDTO
	 */
	public UserDTO getUserDTO() {
		return userDTO;
	}


	/**
	 * @param userDTO the userDTO to set
	 */
	public void setUserDTO(UserDTO userDTO) {
		this.userDTO = userDTO;
	}


	/**
	 * @return the operationDTO
	 */
	public OperationDTO getOperationDTO() {
		return operationDTO;
	}


	/**
	 * @param operationDTO the operationDTO to set
	 */
	public void setOperationDTO(OperationDTO operationDTO) {
		this.operationDTO = operationDTO;
	}


	/**
	 * @return the conditionDTO
	 */
	public ConditionDTO getConditionDTO() {
		return conditionDTO;
	}


	/**
	 * @param conditionDTO the conditionDTO to set
	 */
	public void setConditionDTO(ConditionDTO conditionDTO) {
		this.conditionDTO = conditionDTO;
	}


	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "HistoryDTO [quantity=" + quantity + ", dateTime=" + dateTime
				+ ", workOrderId=" + workOrderId + ", userId=" + userId
				+ ", operationId=" + operationId + ", conditionId="
				+ conditionId + ", workOrderDTO=" + workOrderDTO + ", userDTO="
				+ userDTO + ", operationDTO=" + operationDTO
				+ ", conditionDTO=" + conditionDTO + "]";
	}
}
